const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,

  // 不同用户登录的权限相关
  init: state => state.user.init,
  menuList: state => state.user.menuList,
  buttonList: state => state.user.buttonList
}
export default getters
